package com.service.impl;

import com.dao.Impl.jobImpl;
import com.dao.jobDao;
import com.pojo.job;
import com.service.jobService;

import java.util.List;

/**
 * @Date :15:05 2021/5/25
 * @Author :xuhe
 */
public class jobServiceImpl implements jobService {
    private jobDao jobdao;

    public void setJobdao(jobDao jobdao) {
        this.jobdao = jobdao;
    }

    @Override
    public List<job> findAll() {
        return jobdao.findAll();
    }

    @Override
    public job findJobByName(String job_name) {
        return jobdao.findJobByName(job_name);
    }
}
